const mode = process.env.VUE_APP_MODEFLAG;
const dev = {
  titleImagePath: '/image/title.png',
  titleDarkPath: '/image/title.png',
  titleText: '大菠萝',
  xxteaKey: 'wI0mcEOZwBwC1wZh',
  baseUrl: 'http://18.179.61.234:9002',
  imageUrl: 'http://test.mingyuanjijin.com/t/',
  videoUrl: 'https://pineapple01.s3.ap-east-1.amazonaws.com/m3u8/'
};

const pro = {
  titleImagePath: '/image/title-mario.png',
  titleDarkPath: '/image/title-mario-dark.png',
  titleText: '玛丽欧',
  xxteaKey: 'FoUu2Plc8W12JjNb',
  baseUrl: 'http://8002LB-1696438403.ap-northeast-1.elb.amazonaws.com:9002',
  imageUrl: 'http://test.mingyuanjijin.com/t/',
  videoUrl: 'http://t.nmgpfnmy.com/m3u8/'
};

let modeObject = {};
if (mode === 'dev') {
  modeObject = dev;
}
if (mode === 'pineapple') {
  modeObject = dev;
}
if (mode === 'mario') {
  modeObject = pro;
}
export default modeObject;
